package com.api.shopapi.service;

import com.api.shopapi.entity.JKXueya;
import com.api.shopapi.entity.dto.JKXueyaDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface JKXueyaService {

    int insert(JKXueya jkXueya);

    int update(JKXueya jkXueya);

    int delete(String jkXueyaCode);

    JKXueya getByJKXueyaCode(String jkXueyaCode);

    PageInfo<JKXueya> getPageList(int pageIndex,int pageSize,String userCode,String startTime,String endTime);

    PageInfo<JKXueyaDTO> getAdmPageList(int pageIndex, int pageSize, String name, String governmentCode, String startTime, String endTime);

}
